package com.atguigu.day15.morning;

public class T {
	public static int k = 0;
	public static T t1 = new T("t1");
	public static T t2 = new T("t2");
	public static int i = print("i");
	public static int n = 99;
	public int j = print("j");
	{
		print("构造块 1");
	}
	static{
		print("静态块 2");
	}
	public T(String str){
		super();
		++n;
		++i;
		k++;
		System.out.println("3 T: k:"+k + "," + str + " , i=" + i + "  ,n=" + n);
	}
	public static int print(String str){
		++k;
		++n;
		System.out.println("4 print: k:"+k + "," + str + " , i=" + i + "  ,n=" + n);
		return ++i;
	}
	public static void show(){
		System.out.println("show 5");
	}
}